package io.gitee.tuo_tuo.jfinaldevassistance.common.config;


import com.jfinal.config.Routes;
import io.gitee.tuo_tuo.jfinaldevassistance.controllers.IndexController;
import io.gitee.tuo_tuo.jfinaldevassistance.controllers.RoleController;
import io.gitee.tuo_tuo.jfinaldevassistance.controllers.UserController;

public class IndexRoutes extends Routes{

	@Override
	public void config() {
		add("/", IndexController.class);
		add("/user", UserController.class, "/views");
		add("/role", RoleController.class, "/views");

	}

}
